import socket

TCP_TYPE = socket.SOCK_STREAM
HOST = '127.0.0.1'
PORT = 8899
ADDR = (HOST, PORT)
LOGOUT_MARK = '%%%$Logout$%%%:-1'

SQLHOST = 'localhost'
SQLUSER = 'root'
SQLPWD = '123456'
SQLPORT = 3306
SQLDATABASE = 'Education'


# 客户端弹窗title
MSGBOX_TITLE_ORDER = '课程预约'

# SUCCESS = 'HTTP/1.1 200 OK\r\n' \
#           'Content-Type: text/html;charset=utf-8\r\n' \
#           'Content-Encoding: gzip\r\n' \
#           '\r\n' \
#           '<h1>200</h1>'
# 如果出现客户端无法接收到信息的时候，可以添加一个charset尝试一下
# SUCCESS = 'HTTP/1.1 200 OK\r\n' \
#           'Content-Type: text/html;charset=utf-8\r\n' \
#           '\r\n' \
#           '<!doctype thml>' \
#           '<h1>400</h1>'
